CreateImage(UInt32[],Int32,Int32,Boolean,Boolean,Single,Single) Method
In This Topic
Creates the image based on the existing pixel data to be read/modified in-place.
Syntax
'Declaration
Public Overloads Sub CreateImage( _
ByVal () As System.UInteger, _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As System.Boolean, _
Optional ByVal As System.Boolean, _
Optional ByVal As System.Single, _
Optional ByVal As System.Single _
)
public void CreateImage(
System.uint[] ,
System.int ,
System.int ,
System.bool ,
System.bool ,
System.float ,
System.float
)
Parameters
- pixelData
- The pixel data to be attached to a GcBitmap.
- pixelWidth
- The width of the image, in pixels.
- pixelHeight
- The height of the image, in pixels.
- opaque
- Indicates if the alpha channel should be ignored.
- premultiplied
- Indicates if the color channels are premultiplied by the alpha channel.
- dpiX
- The horizontal dpi of the image.
- dpiY
- The vertical dpi of the image.
See Also